###############################################################################
# Makefile for project 
###############################################################################

## General options
PROJECT = 
MCU = PIC16F88
COMPILER = "CCS for PIC"
TARGET = Release
SHELL = C:\windows\system32\cmd.exe

## Tools general options
CCFLAGS=-J +DF +ES -P -Z +O8 +CC +EXPORT +FM
LDFLAGS=-J -D +ES -P -Z +O8 +CC +FM

## Processing Tools
CC=ccsc.exe
LD=ccsc.exe
#  C:/Users/s2316794/OneDrive - University of Wales Trinity Saint David/CourseWork/L5 - Distributed Intelligence Systems (ACDA5018) (EEE version)/Coursework/IRL Circuit/Proteus/PIC16F88_2/Release.hex: TOOL=LD
#     C:/Users/s2316794/OneDrive - University of Wales Trinity Saint David/CourseWork/L5 - Distributed Intelligence Systems (ACDA5018) (EEE version)/Coursework/IRL Circuit/Proteus/PIC16F88_2/./main.o: TOOL=CC
#        C:/Users/s2316794/OneDrive - University of Wales Trinity Saint David/CourseWork/L5 - Distributed Intelligence Systems (ACDA5018) (EEE version)/Coursework/IRL Circuit/Proteus/PIC16F88_2/main.c

# Build tree:
all:	Release

Release:	Release.hex
	cp "Release.hex" "C:/Users/s2316794/OneDrive - University of Wales Trinity Saint David/CourseWork/L5 - Distributed Intelligence Systems (ACDA5018) (EEE version)/Coursework/IRL Circuit/Proteus/PIC16F88_2.hex"

Release.hex:	main.o 
	$(LD) $(LDFLAGS)  LINK="Release.hex=main.o"

main.o:	main.c 
	$(CC) $(CCFLAGS)  "main.c"

# tidy - delete all temporary files which are not involved in the target generation
tidy:
	rm -rf ./Release.esym
	rm -rf ./Release.sym
	rm -rf ./Release.lst
	rm -rf Release.err
	rm -rf ./main.esym
	rm -rf ./main.osym
	rm -rf ./main.err

# cleanup - delete all generated files
clean:	tidy
	rm -rf Release.hex
	rm -rf main.o
